package com.codeZ.ObserverPattern.instance;

/**
 * MQ消息发送事件
 *
 * @author codeZhang
 * @Date 2024/8/26 11:04
 */
public class MQEventListenerObserver implements EventListenerObserver {
    @Override
    public void doEvent(LotteryResult result) {
        System.out.println("记录用户摇号结果(MQ), 用户ID:" + result.getUId() +
                ",摇号结果:" + result.getMsg());
    }
}
